﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace Framework.Library.Core.Provider.Caches
{
    public interface ICaching
    {
        T Get<T>(string key, string parameters = null);
        List<string> GetAll();
        void Set<T>(string key, T data, string parameters = null);
        void Set<T>(string key, T data, int cacheTime, string parameters = null);
        void Invalidate();
        void Invalidate(string key, string parameters = null);
        void InvalidateRegion(string key);
    }
    public enum MyCachePriority
    {
        Default,
        NotRemovable
    }
}
